package com.eleven.trades.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author elven
 */
@TableName(value = "account")
@Data
public class Account {
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @TableField("user_id")
    private Integer userId;

    @TableField("pay_password")
    private String payPassword;

    @TableField("account_id")
    private String accountId;

    @TableField("account_balance")
    private Double accountBalance;

    @TableField("account_status")
    private Integer accountStatus;

//    public Account(Integer accountId, Integer userId, String payPassword, String accountCard, Double accountBalance, Integer accountStatus) {
//        this.accountId = accountId;
//        this.userId = userId;
//        this.payPassword = payPassword;
//        this.accountCard = accountCard;
//        this.accountBalance = accountBalance;
//        this.accountStatus = accountStatus;
//    }
//
//    public Account() {
//        super();
//    }
}
